package com.zhengyisky.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
public class Order implements Serializable {

    private Integer id;

    private String orderCode;

    private String name;

    private Integer typeId;

    private String content;

    private Integer projectId;

    private Integer companyId;

    private String sumPrice;

    private Integer moneyType;

    private String prePrice;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date signDate;

    private Integer taxType;

    private Integer taxValue;

    private Integer userId;

    private String filePath;

    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String typeName;

    private String projectName;

    private String companyName;

    private String username;

    private String deptName;

}
